import Layout from '../../pages/Layout/index';

const dataRouter = {
    path     : '/clues',
    component: Layout,
    redirect : '/clues/',
    meta     : {
        title: '线索公海',
        icon : 'my-yuyue',
    },
    children : [
        {
            path     : 'zx',
            name     : 'clue_zx',
            component: () => import('../../pages/clues/index' ),
            meta     : {
                title      : '整形',
                type       : 'zx',
                icon       : 'my-yonghu',
                permissions: [ 'all' ],
            }
        },
        {
            path     : 'kq',
            name     : 'clue_kq',
            component: () => import('../../pages/clues/index' ),
            meta     : {
                title      : '口腔',
                type       : 'kq',
                icon       : 'my-yonghu',
                permissions: [ 'all' ],
            }
        },
        {
            path     : 'my',
            name     : 'clue_my',
            component: () => import('../../pages/clues/index' ),
            meta     : {
                title      : '我的线索',
                type       : 'my',
                icon       : 'my-yonghu',
            }
        }

    ]
};

export default dataRouter;
